package com.neusoft.elmboot.service;

import java.util.List;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;

import com.neusoft.elmboot.po.Food;

public interface FoodService {

	public List<Food> listFoodByBusinessId(Integer businessId);
	
	//前端商家只能看到自己的商品，无需再用bussinessId
	public int removeFoodByBusinessId(Integer foodId);
	

	public int saveFood(Food food);


	public int updateFood(Food food);

}
